package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.CategoryBrand;
import com.weixing.mall.provider.model.dto.CategoryBrandDelDto;
import com.weixing.mall.provider.model.dto.CategoryBrandListDto;
import com.weixing.mall.provider.model.query.CategoryBrandQuery;
import com.weixing.mall.provider.model.vo.CategoryBrandVo;

import java.util.List;

/**
 * <p>
 * 商品模块-商品类目品牌关联表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface ICategoryBrandService extends IService<CategoryBrand> {

    /**
     * @Description 保存商品类目品牌关联信息 <br/>
     * @author gjq
     * @date 2019/8/6 17:59
     * @param categoryBrandListDto
     * @return void
     */
    void save(CategoryBrandListDto categoryBrandListDto);
    /**
     * @Description 条件查询商品类目品牌关联 <br/>
     * @author gjq
     * @date 2019/8/7 9:19
     * @param categoryBrandQuery
     * @return java.util.List<com.weixing.mall.provider.model.vo.CategoryBrandVo>
     */
    List<CategoryBrandVo> selectList(CategoryBrandQuery categoryBrandQuery);

    void deleteByIds(CategoryBrandDelDto categoryBrandDelDto);
}
